Tema 1

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

Subtema 1

Quarto is a powerful tool for creating dynamic and interactive documents. It allows you to combine text, code, and data to produce polished and professional outputs. With Quarto, you can generate documents in various formats such as HTML, PDF, and MS Word.

Mostrar código
iris |>
  head()
  Sepal.Length Sepal.Width Petal.Length Petal.Width Species
1          5.1         3.5          1.4         0.2  setosa
2          4.9         3.0          1.4         0.2  setosa
3          4.7         3.2          1.3         0.2  setosa
4          4.6         3.1          1.5         0.2  setosa
5          5.0         3.6          1.4         0.2  setosa
6          5.4         3.9          1.7         0.4  setosa

Subtema 2

One of the key features of Quarto is its ability to support multiple programming languages. You can embed code chunks from languages like R, Python, or Julia directly into your document. This makes it an ideal choice for data scientists and researchers who want to create reproducible and transparent reports.

Mostrar código
DT::datatable(
  iris,
  filter = "top",
  options = list(
    orderClasses = FALSE,
    searching = TRUE,
    autoWidth = TRUE,
    pageLength = 15,
    dom = 'Bfrtip',
    buttons = c("excel", "csv", "copy"),
    initComplete = JS(
    "function(settings, json) {",
    "$(this.api().table().header()).css({'background-color': '#f8f9fa', 'color': '#2b2d42'});",
    "}")
  ),
  colnames = c("Longitud del sépalo (cm)", "Anchura del sépalo (cm)", "Longitud de la corola (cm)", "Anchura de la corola (cm)", "Especie"),
  extensions = "Buttons"
)

Tema 2

Subtema 3

Quarto also offers a wide range of customization options. You can easily modify the appearance of your document by using themes, CSS styles, or custom templates. This flexibility allows you to tailor your document to meet specific presentation requirements.

Mostrar código
iris <- iris

iris |> 
  ggplot(aes(Sepal.Length, Petal.Length)) +
  geom_point()

Scatter plot of Sepal.Length vs Petal.Length

Subtema 4

In addition to its technical capabilities, Quarto provides excellent support for collaborative workflows. You can work on projects with colleagues, track changes, and manage versions seamlessly. This makes it a great tool for team-based projects and academic writing.

Tip

This is a tip.

Subtema 5

Mostrar código
here::here()
[1] "C:/Users/pvill/OneDrive/Proyectos-R/taller-quarto"
Mostrar código
list.files(here::here())
[1] "basico"   "raw-data" "test"    

Dua Lipa

Another notable feature of Quarto is its integration with popular data science tools. For example, you can directly embed visualizations from libraries like Matplotlib, Seaborn, or Plotly. This ensures that your visualizations are always up-to-date and reflect the latest data.

Subtema 6

Quarto also supports cross-references, which is particularly useful for longer documents. You can easily reference figures, tables, and equations within your text, improving the readability and coherence of your work.

Figure 1

Mostrar código
grafico1 <- iris |> 
  ggplot(aes(Sepal.Length, Petal.Length, color = Species)) +
  geom_point(size = 2)

grafico1
A scatter plot of Sepal.Length vs Petal.Length in the iris dataset.
Mostrar código
ggplotly(grafico1)

Conclusión

In summary, Quarto is a versatile and robust tool for creating dynamic, interactive, and professionally formatted documents. Its ability to integrate code, data, and text makes it an excellent choice for a wide range of applications, from academic research to business reporting.